package dbms.absyn;

import dbms.symbol.Symbol;

public class FromClause {
	public int pos;
	public AttrList tableList;
	public AliasList alias_list;
	public SelectExp exp;
	public int type;
	
	public FromClause (int p, AttrList tableList) {
		pos = p;
		this.tableList = tableList;
		type = 1;
	}
	
	public FromClause (int p, AliasList al) {
		pos = p;
		alias_list = al;
		type = 2;
	}

	public FromClause(int p, SelectExp se) {
		pos = p;
		exp = se;
		type = 3;
	}
}
